﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SharpWeb
{
    /// <summary>
    /// Html中的表单标签
    /// </summary>
    public class FormTag:ContainerTagComponent
    {
        protected override string TagName
        {
            get
            {  return "form"; }
        }
         
        /// <summary>
        /// form数据提交到的目标
        /// </summary>
        public string Action
        {
            get { return this.Attributes["action"]; }
            set { this.Attributes["action"] = value; }
        }
         
        /// <summary>
        /// 提交的方式
        /// </summary>
        public string Method
        {
            get { return this.Attributes["method"]; }
            set { this.Attributes["method"] = value; }
        }
        
    }
}
